import http from './http'
const getHot = (data,mask=true) => http.post('/api/v1/course/get_hot', data,mask)      //获取推荐课程
const getHome = (data,mask=false) => http.post('/api/v1/home/get_home_model', data,mask)      //post请求 ，没参数
const getModel = (data,mask=false) => http.post('/api/v1/course/get_search_model', data,mask)      //模块数据
const addFeedback = (data,mask=false) => http.post('/api/v1/user/add_feedback', data,mask)      //反馈建议
const searchName =  (data,mask=false) => http.post('/api/v1/course/search_name', data,mask)      //模块数据


export default{
    getHot,
    getHome,
    getModel,
    addFeedback,
    searchName,
}